package com.adulcimer.models.vo.commen;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * @author Simon
 * @create 2025/8/20
 * @Description
 **/

@Data
public class UploadFileVm {
    @Schema(description = "文件大小")
    private long size;

    @Schema(description = "文件url链接")
    @JsonProperty("url")
    private String fileUrl;

    @Schema(description = "文件后缀名")
    @JsonProperty("suffix")
    private String ext;

    @Schema(description = "附件文件id")
    private String id;

    @Schema(description = "附件文件名称")
    private String name;

    @Schema(description = "文件类型")
    private String contentType;

    @Schema(description = "文件类型")
    private String fileType;

    @Schema(description = "ppt文件封面")
    private String cover;

    @Schema(description = "图片宽度")
    private String width;

    @Schema(description = "图片高度")
    private String height;

    @Schema(description = "时长")
    private String duration;
}
